<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>ui伪类</title>
    <style>
      /* 选中选中的复选或者单选框 */
      input:checked {
        width: 100px;
        height: 100px;
      }
      /* 选中禁用的输入框 */
      input:disabled {
        background-color: yellowgreen;
      }
    </style>
  </head>
  <body>
    <input type="checkbox" />
    <input type="radio" name="gender" />
    <input type="radio" name="gender" />
    <input type="text" />
    <input type="text" disabled />
  </body>
</html>
